package com.siwen.service;

import com.siwen.exception.UserException;
import com.siwen.pojo.ChildTbl;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChildService {
    /**
     * 查询所有
     * @return
     */
    List<ChildTbl> getChildInfo();

    /**
     * 登录
     * @param username
     * @param password
     * @return
     * @throws UserException
     */
    public ChildTbl ChildLogin(String username, String password) throws UserException;
    /**
     *  签约儿童的注册
     */

    public int insertChild(ChildTbl child);
}
